package com.example.paymentdemo.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @Author 上号
 * @Date 2022/5/14 10:49
 * @Version 1.0
 */
@Configuration
//扫描包
@MapperScan("com.example.paymentdemo.mapper")
//开启事务管理
@EnableTransactionManagement
public class MybatisPlusConfig {
}
